package cn.scw.project.system.domain;

import cn.scw.framework.aspectj.lang.annotation.Excel;
import cn.scw.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * banner对象 banner
 *
 * @author api
 * @date 2020-05-14
 */
public class SysBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String imgUrl;

    /** 富文本内容 */
    @Excel(name = "富文本内容")
    private String content;

    /** 顺序 */
    @Excel(name = "顺序")
    private Long seqNumber;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setSeqNumber(Long seqNumber)
    {
        this.seqNumber = seqNumber;
    }

    public Long getSeqNumber()
    {
        return seqNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgUrl", getImgUrl())
            .append("content", getContent())
            .append("seqNumber", getSeqNumber())
            .toString();
    }
}
